import { createRouter, createWebHashHistory } from 'vue-router'

const router = createRouter({
	history: createWebHashHistory(),
	routes: [
		{
			path: '/',
			name: 'home',
			redirect: 'formDesign'
		},
		{
			path: '/formDesign',
			name: 'formDesign',
			component: () => import('../views/formDesign/index.vue')
		},
		{
			path: '/demo',
			name: 'demo',
			component: () => import('../views/demo/index.vue')
		},
		{
			path: '/test',
			name: 'test',
			component: () => import('../views/demo/test.vue')
		}
	]
})

export default router
